package com.wootion.cims.module.communityresidence.household.service;

import com.wootion.cims.module.communityresidence.household.dto.PageQueryHouse;
import com.wootion.cims.module.communityresidence.household.excel.ExcelDto;
import com.wootion.cims.module.communityresidence.occupancy.dto.OccupancyDto;
import com.wootion.cims.response.ResponseResult;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: LanQiang
 * @Date: 2022/12/23/8:40
 * @Description: 作用xxx
 */
public interface HouseholdService {
    /**
     * 户籍情况列表
     * @param pageQueryHouse
     * @return
     */
    ResponseResult list(PageQueryHouse pageQueryHouse);
    /**
     * 根据房屋id,查询当前业主以及关联的所有户籍人员(包括户主自身)信息
     * @param id
     * @return
     */
    ResponseResult find(String id);
    /**
     * 修改户籍情况
     * @return
     */
    ResponseResult updateSave(OccupancyDto occupancyDto, HttpServletRequest request);
    /**
     * 导出户籍列表
     * @param excelDto
     * @return
     */
    ResponseResult houseExcel(ExcelDto excelDto);
}
